from PyQt5.QtWidgets import QWidget
from view.FunctionHookView import Ui_FunctionHook


class FunctionHook(QWidget, Ui_FunctionHook):
    def __init__(self, frida_manager=None, log_out=None):
        super(FunctionHook, self).__init__()
        # 设置ui，
        self.setupUi(self)
        # 设置布局，控件就会自适应
        self.setLayout(self.verticalLayout)
        self.frida_manager = frida_manager
        self.log_out = log_out
        # 添加响应函数
        self.pb_hook.clicked.connect(self.pb_hook_click)
        self.pb_load_method.clicked.connect(self.pb_load_method_click)

    def pb_load_method_click(self):
        pass

    def pb_hook_click(self):
        pass

